<?php
$_pluralIrregular = array(
		'abdomen' => 'abdomens',
		'alemao' => 'alemaes',
		// Fixing rules RegExps exceptions
		'local' => 'locais'
);

$_uninflected = array('atlas',
		'lapis', 'onibus', 'pires',
		'virus', '.*x', 'status');

Inflector::rules('plural', array(
'rules' => array(
'/^(.*)ao$/i' => '\1oes',
'/^(.*)(r|s|z)$/i' => '\1\2es',
'/^(.*)(a|e|o|u)l$/i' => '\1\2is',
'/^(.*)il$/i' => '\1is',
'/^(.*)(m|n)$/i' => '\1ns',
'/^(.*)$/i' => '\1s'
),
'uninflected' => $_uninflected,
'irregular' => $_pluralIrregular
), true);
?>